<?php
/*
 * Forescore
 * A golf scoring and analysis app
 * 
 * @license   MIT License
 * @package   Forescore
 * @author    $Author: brian@brianvoss.com $
 * @version   $Id: Course.php 12 2013-06-28 03:28:14Z brian@brianvoss.com $
 * @lastrevision   $Date: 2013-06-28 03:28:14 +0000 (Fri, 28 Jun 2013) $
 * @filesource     $URL: http://forescore.googlecode.com/svn/trunk/application/models/Course.php $
 */
class Application_Model_Course extends Forescore_Model_Base {
	/**
	 * Course ID
	 * @var {int}
	 */
	protected $id;
	/**
	 * Course Name
	 * @var {string}
	 */
	protected $name;
	/**
	 * Course Address
	 * @var {string}
	 */
	protected $address;
	/**
	 * Course Address Line 2
	 * @var {string}
	 */
	protected $address2;
	/**
	 * Course City
	 * @var {string}
	 */
	protected $city;
	/**
	 * Course State
	 * @var {string}
	 */
	protected $state;
	/**
	 * Course Zip Code
	 * @var {int}
	 */
	protected $zip;
	/**
	 * Course Created Date (Epoch)
	 * @var {int}
	 */
	protected $created;
	/**
	 * Course Modified Date (Epoch)
	 * @var {int}
	 */
	protected $modified;
	/**
	 * Constructor
	 * @param {array} [data]
	 */
	public function __construct($data)
	{
		parent::__construct($data);
	}
	/**
	 * 
	 * @return type
	 */
	public function getId(){
		return $this->id;
	}
	/**
	 * 
	 * @param type $id
	 * @return \Application_Model_Course
	 */
	public function setId($id){
		$this->id = $id;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getName(){
		return $this->name;
	}
	/**
	 * 
	 * @param type $name
	 * @return \Application_Model_Course
	 */
	public function setName($name){
		$this->name = $name;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getAddress(){
		return $this->address;
	}
	/**
	 * 
	 * @param type $address
	 * @return \Application_Model_Course
	 */
	public function setAddress($address){
		$this->address = $address;
		return $this;
	}
	/**
	 * 
	 */
	public function getAddress2(){
		return $this->address2;
	}
	/**
	 * 
	 * @param type $address2
	 * @return \Application_Model_Course
	 */
	public function setAddress2($address2){
		$this->address2 = $address2;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getCity(){
		return $this->city;
	}
	/**
	 * 
	 * @param type $city
	 * @return \Application_Model_Course
	 */
	public function setCity($city){
		$this->city = $city;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getState(){
		return $this->state;
	}
	/**
	 * 
	 * @param type $state
	 * @return \Application_Model_Course
	 */
	public function setState($state){
		$this->state = $state;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getZip(){
		return $this->zip;
	}
	/**
	 * 
	 * @param type $zip
	 * @return \Application_Model_Course
	 */
	public function setZip($zip){
		$this->zip = $zip;
		return $this;
	}
	/**
	 * 
	 * @return type
	 */
	public function getCreated(){
		return $this->created;
	}
	/**
	 * 
	 * @param type $created
	 * @return \Application_Model_Course
	 */
	public function setCreated($created){
		$this->created = $created;
		return $this;
	}
	/**
	 * 
	 * @return {int}
	 */
	public function getModified(){
		return $this->modified;
	}
	/**
	 * 
	 * @param type $modified
	 * @return \Application_Model_Course
	 */
	public function setModified($modified){
		$this->modified = $modified;
		return $this;
	}
}